﻿using System;
using System.Drawing;

namespace Utility
{
    [Serializable]
    public class Message
    {
        /// <summary>
        /// 消息内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 字体
        /// </summary>
        public string FontFamily { get; set; }
        /// <summary>
        /// 字号
        /// </summary>
        public int FontSize { get; set; }
        /// <summary>
        /// 颜色
        /// </summary>
        public Color FontColor { get; set; }

        public Message(string content, string fontFamily, int fontSize, Color fontColor)
        {
            Content = content;
            FontFamily = fontFamily;
            FontSize = fontSize;
            FontColor = fontColor;
        }
    }
}
